from sqlalchemy import create_engine
import tushare as ts


def get_engine_ts():
    return create_engine('mysql://root:pig%401994@127.0.0.1:8306/tushare_all?charset=utf8&use_unicode=1')


def get_engine():
    return create_engine('mysql://root:pig%401994@127.0.0.1:8306/tushare_all?charset=utf8&use_unicode=1')


def get_pro():
    return ts.pro_api("09640b7c249de22f51c81fa10ebadcc2c31924864746e333e5ffbe2c")
